﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// T_Product 的摘要说明
/// </summary>
namespace nspProduct
{
    public class clsTProduct
    {
        #region Model
        private int _Id;
        private string _name;
        private string _typeId;
        private string _keyword;
        private string _picture;
        private string _detail;
        private DateTime _adddate;
        private float _price;

        /// <summary>
        /// 产品ID
        /// </summary>
        public int ID
        {
            set { _Id = value; }
            get { return _Id; }
        }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string Name
        {
            set { _name = Base.Common.FilterHtml(value); }
            get { return _name; }
        }
        /// <summary>
        /// 行业类别
        /// </summary>
        public string TypeId
        {
            set { _typeId = Base.Common.FilterHtml(value); }
            get { return _typeId; }
        }
        /// <summary>
        /// 关键字
        /// </summary>
        public string KeyWord
        {
            set { _keyword = Base.Common.FilterHtml(value); }
            get { return _keyword; }
        }
        /// <summary>
        /// 图片
        /// </summary>
        public string Picture
        {
            set { _picture = Base.Common.FilterHtml(value); }
            get { return _picture; }
        }
        /// <summary>
        /// 产品说明
        /// </summary>
        public string Detail
        {
            set { _detail = Base.GetRequest.RemoveHTMLForEditor(value); }
            get { return _detail; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddDate
        {
            set { _adddate = value; }
            get { return _adddate; }
        }
        /// <summary>
        /// 靠前价格
        /// </summary>
        public float Price
        {
            set { _price = value; }
            get { return _price; }
        }
        #endregion Model
    }
}